* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #222;
}

svg {
    width: 0;
    height: 0;
}
.loading {
    position: relative;
    width: 200px;
    height: 200px;
    filter: url(#gooey);
    @for $i from 1 to 8 {
        span:nth-child(#{$i}) {
            animation-delay: $i * 0.2s;
        }
    }
    span {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: block;
        animation: animate 4s ease-in-out infinite;

        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: calc(50% - 20px);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(#d1f5ff, #1683ff);
            box-shadow: 0 0 30px #1683ff;
        }
    }
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    50%,
    100% {
        transform: rotate(360deg);
    }
}
